home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1998 October
/
Macworld (1998-10).dmg
/
Shareware World
/
Utilities
/
Text Processing
/
GST-TGhostDemo
/
Torquemada’s Ghost Glue
/
DocServer Source Text
/
TQMGhost DocServer Text
< prev
Wrap
Text File
|
1998-08-01
|
5KB
|
102 lines
Verb TQMGhost.batchProcess
Syntax TQMGhost.batchProcess ()
Parameters None.
Action Runs a dialog-driven suite that allows the user to batch process with Torquemada’s Ghost by selecting folders of files.
Also includes a preferences dialog and utilities to change type and creator of files between TQM types and the user’s word processor.
Designed for Frontier Runtime users who cannot write or do not intend to write scripts.
Returns True if run successfully, false if error or canceled by user.
Examples See the read-me file that accompanies the installer for full instructions.
Notes Requires Torquemada’s Ghost 1.3.0 by Greg Swann.
See Also TQMGhost.sendFile
Verb TQMGhost.isRunning
Syntax TQMGhost.isRunning ()
Parameters None.
Action Checks to see if Torquemada’s Ghost is currently running.
Returns True if running, false if not.
See Also TQMGhost.bringToFront
TQMGhost.launch
TQMGhost.quit
Verb TQMGhost.launch
Syntax TQMGhost.launch ()
Parameters None.
Action Launches Torquemada’s Ghost, if not already running.
Returns True if successful, false if not.
Notes Not required for TQMGhost.sendFile.
Requires Torquemada’s Ghost 1.3.0 by Greg Swann.
See Also TQMGhost.bringToFront
TQMGhost.isRunning
TQMGhost.quit
Verb TQMGhost.makeTQMcontrol
Syntax TQMGhost.makeTQMcontrol (path)
Parameters path = full path to the desired file (stringType).
Action Changes type and creator of file in path to a Torquemada’s Ghost control file.
Returns True if successful, false if not.
Example TQMGhost.makeTQMcontrol ("My Hard Drive:Text Files:Control file")
Notes This verb works quietly in the background with no user interface.
The file must conform to Torquemada’s Ghost control file specs, or it will not function properly.
See Also TQMGhost.makeTQMset
TQMGhost.makeWPfile
Verb TQMGhost.makeTQMset
Syntax TQMGhost.makeTQMset (path)
Parameters path = full path to the desired file (stringType)
Action Changes the type and creator of the file specified in path to a TQM set file.
Returns True if successful, false if not.
Example TQMGhost.makeTQMset ("My Hard Drive:TQM set files:Killer set")
Notes This version works silently in the background with no user interface.
TQM sets can be used with both Torquemada’s Ghost and the most recent version of Torquemada the Inquisitor.
The file must conform to TQM specs or it will not function properly.
See Also TQMGhost.makeWPfile
TQMGhost.makeControlfile
Verb TQMGhost.makeWPfile
Syntax TQMGhost.makeWPfile (path)
Parameters path = full path to the desired file (stringType)
Action Changes the type of file in path to a text file. Creator is changed to creator specified in TQMGhost.prefs.Creator.
Returns True if successful, false if not.
Example TQMGhost.makeWPfile ("My Hard Drive:Text Files:Cool text")
Notes This version works silently in the background with no user interface.
The contents of TQMGhost.prefs.Contents must be a string4 matching the creator signature of the desired word processor.
See Also TQMGhost.makeControlfile
TQMGhost.makeTQMset
Verb TQMGhost.quit
Syntax TQMGhost.quit ()
Parameters None.
Action Quits Torquemada’s Ghost if running.
Returns True.
Notes Using this verb when Torquemada’s Ghost is not running has no effect.
Requires Torquemada’s Ghost 1.3.0 by Greg Swann.
See Also TQMGhost.isRunning
TQMGhost.launch
Verb TQMGhost.sendFile
Syntax TQMGhost.sendFile (path)
Parameters path = full path to the desired file (stringType)
Action Opens the specified file in Torquemada’s Ghost.
Launches Torquemada’s Ghost if not running.
Torquemada’s Ghost will remain waiting for further files until a control file is opened or the Start button is clicked.
Returns True.
Example TQMGhost.sendFile ("My Hard Drive:Text Files:Cool Text")
Notes See the documentation for Torquemada’s Ghost for an explanation of how files sent with AppleEvents control the app.
Requires Torquemada’s Ghost 1.3.0 by Greg Swann.
See Also TQMGhost.batchProcess
Verb TQMGhost.startTQM
Syntax TQMGhost.startTQM (controlFile, destination)
Parameters controlFile = full path (including name) of the control file to be created (stringType).
destination = full path to an existing folder where processed files are to be saved (stringType).
Action Creates a control file containing destination path.
Launches Torquemada’s Ghost if not running.
Starts TQMGhost processing.
Returns True.
Example TQMGhost.startTQM ("My Hard Drive:System Folder:TQM Control file", "My Hard Drive: Finished text:")
Notes See the documentation for Torquemada’s Ghost for an explanation of how files sent with AppleEvents control the app.
Requires Torquemada’s Ghost 1.3.0 by Greg Swann.
See Also TQMGhost.batchProcess
TQMGhost.makeTQMcontrol